##
## Simple Makefile for an educational set of data structures.
## Note: tabulations are required here due to GNU Makefile syntax.
##
## Brief explanation of g++ debug options:
## -g : generate debug information for gdb
## -O0 : disable all code optimizations
## -Wall : produce all warnings, it can report
## -fprofile-arcs, -ftest-coverage : instrument result code with additional
## counters, so gcov can gather code coverage statistics after the execution.
##

all: utest

run_test: utest
	./utest

utest: *.hpp Makefile test.cpp bitset.cpp
	g++ test.cpp bitset.cpp -fprofile-arcs -ftest-coverage -g -O0 -Wall -o utest

clean: 
	rm -rf utest *.gcno *.gcda
